package com.sls.game.dao.nutsnet;

import java.util.List;

import com.sls.game.pojo.nutsnet.NutsNetGoodsServerInfo;

/**
 * 
 * @description 坚果网络商品支持服务器DAO
 * @author Wangxuegang
 * @date 2012-11-1
 * 
 */
public interface NutsNetGoodsServerDAO {

	/**
	 * 记录插入
	 * 
	 * @param nutsNetGoodsServerInfo
	 */
	public void insert(NutsNetGoodsServerInfo nutsNetGoodsServerInfo);

	/**
	 * 记录查询
	 * 
	 * @param nutsNetGoodsServerInfo
	 * @return
	 */
	public List<String> queryGameServer(NutsNetGoodsServerInfo nutsNetGoodsServerInfo);

	/**
	 * 通过goodsId,gameAreaName,gamesrvName查询一条记录
	 * 
	 * @param nutsNetGoodsServerInfo
	 * @return
	 */
	public List<NutsNetGoodsServerInfo> queryOneOrMoreGameServer(
			NutsNetGoodsServerInfo nutsNetGoodsServerInfo);
	
	/**
	 * 删除记录
	 * @param id
	 */
	public void deleteById(String id);
	
}
